package org.edu.modules.sxjy.feign;

import io.swagger.annotations.ApiOperation;
import org.edu.common.api.vo.Result;
import org.edu.common.aspect.annotation.AutoLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author leidq
 * @create 2022-04-08 14:17
 */

@FeignClient("edu-stu")
@Component
public abstract interface VeStuAipClient {
    @AutoLog("通过id查询")
    @ApiOperation(value = "通过id查询", notes = "通过id查询")
    @GetMapping({"/stu/veBaseStudent/queryById"})
    public abstract Result<?> veBaseStudent(@RequestParam(name = "id", required = true) String paramString);

    @GetMapping({"/stu/veStuHealthReport/listByStuId"})
    public abstract Result<?> veStuHealthReportByStuId(@RequestParam(name = "stuId") Integer paramInteger);

    @GetMapping({"/stu/hqStuPositionApply/listByStuId"})
    public abstract Result<?> hqStuPositionApplyByStuId(@RequestParam(name = "stuId") Integer paramInteger);

    @GetMapping({"/stu/veStuReward/listByStuId"})
    public abstract Result<?> veStuRewardByStuId(@RequestParam(name = "stuId") Integer paramInteger);

    @GetMapping({"/stu/veStuPunish/listByStuId"})
    public abstract Result<?> veStuPunishByStuId(@RequestParam(name = "stuId") Integer paramInteger);

    @GetMapping({"/stu/veStuHygieneStudent/findStu"})
    public abstract Result<?> findStuHygiene(@RequestParam(name = "stuId") Integer paramInteger);

    @GetMapping({"/stu/veStuCheckStudent/findStu"})
    public abstract Result<?> findStuCheck(@RequestParam(name = "stuId") Integer paramInteger);

    @GetMapping({"/stu/veStuLiteraryActive/listByStuId"})
    public abstract Result<?> veStuLiteraryActiveByStuId(@RequestParam(name = "stuId") Integer paramInteger);

    @GetMapping({"/stu/veStuCaucus/listByStuId"})
    public abstract Result<?> veStuCaucusByStuId(@RequestParam(name = "stuId") Integer paramInteger);
}

